package com.kaikeba.t31ticket.ticket.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author wuhe
 * @email itzhao@163.com
 * @date 2021-11-14 17:17:29
 */
@Data
@TableName("ticket_ticket_template")
public class TicketTemplateEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Long id;
	/**
	 * 车次id
	 */
	private Long trainId;
	/**
	 * 车次编码，比如T31
	 */
	private String trainCode;
	/**
	 * 
	 */
	private Long carriageId;
	/**
	 * 
	 */
	private String carriageNumber;
	/**
	 * 
	 */
	private Long seatId;
	/**
	 * 座位编码
	 */
	private String seatCode;
	/**
	 * 价格系数
	 */
	private BigDecimal priceFactor;
	/**
	 * 
	 */
	private Date createTime;
	/**
	 * 
	 */
	private Date updateTime;

}
